package org.mzy.pet.service.impl;

import org.apache.poi.ss.formula.functions.T;
import org.mzy.basic.query.BaseQuery;
import org.mzy.basic.service.impl.BaseServiceImpl;
import org.mzy.basic.util.PageList;
import org.mzy.pet.domain.Pet;
import org.mzy.pet.domain.PetDetail;
import org.mzy.pet.mapper.PetDetailMapper;
import org.mzy.pet.service.IPetDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author mzy
 * @since 2022-10-28
 */
@Service
public class PetDetailServiceImpl extends BaseServiceImpl<PetDetail> implements IPetDetailService {

    @Autowired
    private PetDetailMapper petDetailMapper;

    @Override
    public PetDetail findByPetId(Long id) {
        return petDetailMapper.findByPetId(id);
    }
}
